{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title></title>

    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <!-- Bootstrap Core CSS -->
    <link rel="stylesheet" href="{% static 'maquinas/css/bootstrap.min.css' %}" type="text/css">

    <!-- Custom Fonts -->
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Merriweather:400,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="{% static 'maquinas/font-awesome/css/font-awesome.min.css' %}" type="text/css">

    <!-- Plugin CSS -->
    
    <link rel="stylesheet" href="{% static 'maquinas/css/animate.min.css' %}" type="text/css">

    <!-- Custom CSS -->
    <link rel="stylesheet" href="{% static 'maquinas/css/creative.css' %}" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work isf you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
<style>
    .listitem{
    color: #ffffff;
    font-size: 1.1em;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    list-style-type: none;
    }
</style>

</head>

<body id="page-top" onload="relojFecha()">
    
    <nav id="mainNav" class="navbar navbar-default navbar-fixed-top">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand page-scroll" href="#page-top">Proyecto</a>
                <p id="idReloj" style="color:#ffffff"; width:300px;/>
                <script>

                    function relojFecha(){
                        var mydate=new Date();var year=mydate.getYear();
                        if (year < 1000)year+=1900;
                        var day=mydate.getDay();
                        var month=mydate.getMonth();
                        var daym=mydate.getDate();
                        if (daym<10)daym="0"+daym;
                        var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sabado");
                        var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto",
                                                                     "Septiembre","Octubre","Noviembre","Diciembre");
                        var horas = mydate.getHours();
                        horas = (horas<10)?"0"+horas:horas;
                        var minutos = mydate.getMinutes();
                        minutos = (minutos<10)?"0"+minutos:minutos;
                        var segundos = mydate.getSeconds();
                        segundos = (segundos<10)?"0"+segundos:segundos;
                        document.getElementById("idReloj").innerHTML = "<"+"small><"+"font color='000000' face='Verdana'>"+
                                                                        dayarray[day]+" "+daym+" de "+montharray[month]+" de "+
                                                                            year+" "+horas+":"+minutos+":"+segundos+"<"+"/font><"+"/small>";
                        setTimeout('relojFecha()',1000);
                    }
                            
                </script>   
            </div>

            <!-- Collect the nav links, forms, and other content for toggling -->
            </div>
        <!-- /.container-fluid -->
    </nav>

    <header>
        <div class="header-content">
            <div class="header-content-inner">         
                <h1> PC: {{ pc.mac }} </h1>
                <br><br/>
                <h style="color:red;font-size:1.8em;"> Estado: </h>
                <br><br/>
                <t> <h style="font-size:2.2em;"> {{pc.estado}} </h></t>
                <p></p>
                <a style="font-size:2.0em;" href="{% url 'maquinas:results' pc.id %}"> Ver Graficas </a>
            </div>
            <br><br/>
            <br><br/>
            <div class="container">
              <form class="form-horizontal" role="form">
                <div class="form-group">
                  <label class="control-label col-sm-2" for="email">Usuario:</label>
                  <div class="col-sm-10">
                    <input type="email" class="form-control" style="width:300px;" id="email" placeholder="Ingrese Usario">
                  </div>
                </div>
                <div class="form-group">
                  <label class="control-label col-sm-2" for="pwd">Password:</label>
                  <div class="col-sm-10">          
                    <input type="password" class="form-control" style="width:300px;" id="pwd" placeholder="Ingrese Password">
                  </div>
                </div>
                <div class="form-group">
                  <label class="col-sm-10">Comando:</label>
                  <div>          
                    <input type="text" style="width:500px;" id="comando" placeholder="Ingrese Comando">
                  </div>
                </div>
                <div class="form-group">        
                  <div class="col-sm-offset-2 col-sm-10">
                    <div class="checkbox">
                      <label><input type="checkbox"> Recordarme</label>
                    </div>
                  </div>
                </div>
                <div class="form-group">        
                  <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-default">Enviar Comando</button>
                  </div>
                </div>
              </form>
            </div>
        </div>
    </header>
    
    <!-- jQuery -->
    <script src="{% static 'maquinas/js/jquery.js' %}"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="{% static 'maquinas/js/bootstrap.min.js' %}"></script>

    <!-- Plugin JavaScript -->
    
    <!-- Custom Theme JavaScript -->
    <script src="{% static 'maquinas/js/creative.js' %}"></script>

</body>

</html>
